import EmptyRouter from "@/components/common/EmptyRouter";

const openRouter = {
	path: "user",
	name: "user",
	redirect: "",
	img: 0,
	// 这里必须添加一个空的路由组件或者首页布局组件，不然子路由不会渲染
	component: EmptyRouter,
	meta: {
		title: "个人中心",
	},
	children: [
		{
			path: "user",
			component: () =>
				import(
					/* webpackChunkName: "access-vendor-management" */ "@/pages/user/user/user.vue"
				),
			name: "user",
			__full_path__: "/user/user",
			meta: {
				title: "个人信息",
			},
		},
	],
};

export default openRouter;
